Vapi Metadata Metamodel ElementMap

Vapi Metadata Metamodel ElementMap
Vapi Metadata Metamodel ElementMap

The Vapi Metadata Metamodel ElementMap schema contains the metadata elements.

One of the sources for metadata is the annotations present in the interface definition language. When an annotation is represented in the Vapi Metadata Metamodel ElementMap, Vapi Metadata Metamodel ElementMap describes the data specified in the arguments for the annotation.

For example, in @UnionCase(tag="tag", value="SELECT"), ElementMap describes the keyword arguments tag and value.

JSON Example
{
    "elements": {
        "elements": {
            "type": "string",
            "long_value": 0,
            "string_value": "string",
            "list_value": [
                "string"
            ],
            "structure_id": "string",
            "structure_ids": [
                "string"
            ]
        }
    }
}
object
elements
Required

Metamodel information of the metadata elements. The key parameter of the map is the identifier for the element and the value corresponds to the element value.